﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace StudentManagement.Models
{

    /// <summary>
    /// Entity Framework database context class for admin console
    /// </summary>
    public class AdminContext : DbContext
    {
        public AdminContext():base("DefaultConnection")
        {

        }
        public DbSet<Student> Students { get; set; }
        public DbSet<Branch> Branches { get; set; }
        public DbSet<Course> Courses { get; set; }
    }
}